From: Stefano Stabellini Date: Tue, 14 Dec 2010 19:28:25 +0000 (+0000) Subject: libxl: return "tap" as backend type for PHYSTYPE_QCOW2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=09ccf429953fed1ff29e726832c151bfe3d7692c;p=xen.git libxl: return "tap" as backend type for PHYSTYPE_QCOW2 Return "tap" as backend type for PHYSTYPE_QCOW2. This arranges that qcow2 disks should work in xl. Signed-off-by: Stefano Stabellini Signed-off-by: Ian Jackson --- diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c index 7d1796b2e7..2d430b7ffe 100644 --- a/tools/libxl/libxl_device.c +++ b/tools/libxl/libxl_device.c @@ -138,6 +138,7 @@ char *libxl__device_disk_backend_type_of_phystype(libxl_disk_phystype phystype) { switch (phystype) { case PHYSTYPE_QCOW: return "tap"; + case PHYSTYPE_QCOW2: return "tap"; case PHYSTYPE_VHD: return "tap"; case PHYSTYPE_AIO: return "tap"; /* let's pretend file is tap:aio */